package com.bnz.cart.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbxfwf
 * @since 2022-11-30
 */
@TableName("tb_order_item")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    // @ApiModelProperty("商品id")
    private Long itemId;

    // @ApiModelProperty("SPU_ID")
    private Long goodsId;

    // @ApiModelProperty("订单id")
    private Long orderId;

    // @ApiModelProperty("商品标题")
    private String title;

    // @ApiModelProperty("商品单价")
    private BigDecimal price;

    // @ApiModelProperty("商品购买数量")
    private Integer num;

    // @ApiModelProperty("商品总金额")
    private BigDecimal totalFee;

    // @ApiModelProperty("商品图片地址")
    private String picPath;

    private String sellerId;

}
